package com.aigou.admin.dao;

import com.aigou.admin.entity.Shop_cart_product;
import com.aigou.admin.entity.User;

import java.util.List;

/**
 * @Author: May
 * @Date: 2024/12/3 17:02
 * @Version: 1.0
 */
public interface Shop_cart_productDao {
    List<Shop_cart_product> selectAll();

    Shop_cart_product selectById(String id);

    Boolean insert(Shop_cart_product shopCartProduct);

    Boolean update(Shop_cart_product shopCartProduct);

    Boolean delete(String id);

    /**
     * 查询用户行数
     * @return
     */
    Integer selectUserCount();

    /**
     *
     * @param start
     * @param rows
     * @return
     */
    List<Shop_cart_product> selectUserLimit(int start, int rows);
}
